﻿<admintpl file="header"/>
<style>
	.controls img{
		max-width:200px;
	}
</style>
</head>
<body>
<div class="wrap js-check-wrap">
	<ul class="nav nav-tabs">
		<li ><a href="{:U('Family/index')}">家族列表</a></li>
		<li class="active"><a >新增家族</a></li>
	</ul>
	<form class="form-horizontal js-ajax-forms" action="{:U('Family/add_post')}" method="post">
		<fieldset>
			<div class="control-group">
				<label class="control-label">家族名称</label>
				<div class="controls">
					<input type="text" name="name" value="{$userinfo['name']}" id="name" placeholder="请输入家族名称" />
					<span class="form-required">*</span>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label">族长</label>
				<div class="controls">
					<input type="text" name="zuzhang" value="{$userinfo['zuzhang']}" id="zuzhang" placeholder="请输入族长账号" />
					<span class="form-required">*</span>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label">主播比例</label>
				<div class="controls">
					<input type="text" name="zhu_bili" value="{$userinfo['zhu_bili']}" id="zhu_bili"  placeholder="请输入主播比例" />%
					<span class="form-required">*</span>
				</div>
			</div>

			<div class="control-group">
				<label class="control-label">族长比例</label>
				<div class="controls">
					<input type="text" name="tou_bili" value="{$userinfo['tou_bili']}" id="tou_bili"  placeholder="请输入族长比例" />%
					<span class="form-required">*</span>
				</div>
			</div>

		</fieldset>
		<div class="form-actions">
			<button type="submit" class="btn btn-primary js-ajax-submit">添加</button>
			<a class="btn" href="javascript:history.go(-1);">{:L('BACK')}</a>
		</div>
	</form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>
</body>
</html>